﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using BOSS.Domain.Security;
using BOSS.Domain.Products;

namespace BOSS.Domain.Customers
{
    /// <summary>
    /// 账户详细信息
    /// </summary>
    public class CustomerAccountItem : DomainEntity<int>
    {
        /// <summary>
        /// 获取 / 设置 客户账户
        /// </summary>
        public virtual CustomerAccount CustomerAccount { get; set; }

        /// <summary>
        /// 获取 / 设置 产品
        /// </summary>
        public virtual Product Product { get; set; }

        /// <summary>
        /// 获取 / 设置 累计赠送次数
        /// </summary>
        public virtual int DonatedAccumulation { get; set; }

        /// <summary>
        /// 获取 / 设置 累计购买次数
        /// </summary>
        public virtual int ChargedAccumulation { get; set; }

        /// <summary>
        /// 获取 / 设置 剩余赠送次数
        /// </summary>
        public virtual int DonatedBalance { get; set; }

        /// <summary>
        /// 获取 / 设置 剩余购买次数
        /// </summary>
        public virtual int ChargedBalance { get; set; }
    }
}

